package org.jeecg.modules.basic.outstock.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.basic.outstocktype.entity.LwgyOutStockType;
import org.jeecg.modules.basic.plan.entity.LwgyMaterialPlanGoods;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description: 出库管理
 * @Author: jeecg-boot
 * @Date:
 * @Version: V1.0
 */
@Data
@ApiModel(value="lwgy_score_sanitationPage对象", description="采购计划")
public class LwgyOutStockPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**校区*/
	@Excel(name = "校区", width = 15)
	@ApiModelProperty(value = "校区")
	@Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
	private java.lang.String studentCampus;
	/**出库方式*/
	@Excel(name = "出库方式", width = 15)
	@Dict(dicCode = "id",dicText = "out_stockname",dictTable = "lwgy_out_stocktype")
	@ApiModelProperty(value = "出库方式")
	private java.lang.String outStocktype;
	/**物品名称*/
	@Excel(name = "物品名称", width = 15)
	@ApiModelProperty(value = "物品名称")
	private java.lang.String itemName;

	@Excel(name = "出库编号", width = 15)
	@ApiModelProperty(value = "出库编号")
	private java.lang.String stockNo;
	@Excel(name = "申请人", width = 15)
	@ApiModelProperty(value = "申请人")
	private java.lang.String writerId;
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "申请时间")
	private java.util.Date writeTime;
	@Excel(name = "申请人", width = 15)
	@ApiModelProperty(value = "申请人")
	private java.lang.String progress;
	@Excel(name = "申请人", width = 15)
	@ApiModelProperty(value = "申请人")
	private java.lang.String checkId;
	@Excel(name = "申请人", width = 15)
	@ApiModelProperty(value = "申请人")
	@Dict(dicCode = "out_state")
	private java.lang.String outState;
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "审核时间")
	private java.util.Date checkTime;
	@Excel(name = "申请人", width = 15)
	@ApiModelProperty(value = "申请人")
	private java.lang.String checkNote;
	@Excel(name = "申请人", width = 15)
	@ApiModelProperty(value = "申请人")
	private java.lang.String reviewId;
	@Excel(name = "申请人", width = 15)
	@ApiModelProperty(value = "申请人")
	private java.lang.String reviewNote;
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "审核时间")
	private java.lang.String reviewTime;
	@Excel(name = "申请人", width = 15)
	@ApiModelProperty(value = "申请人")
	private java.lang.String reviewState;
	/**所属仓库*/
	@Excel(name = "仓库名字", width = 15,dictTable = "lwgy_material_inventory",dicCode = "id",dicText = "inventory_name")
	@Dict(dictTable = "lwgy_material_inventory",dicCode = "id",dicText = "inventory_name")
	@ApiModelProperty(value = "仓库名字")
	private String name;
	/**规格*/
	@Excel(name = "规格", width = 15)
	@ApiModelProperty(value = "规格")
	private java.lang.String specs;
	/**品牌*/
	@Excel(name = "品牌", width = 15)
	@ApiModelProperty(value = "品牌")
	private java.lang.String brand;
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
	@ApiModelProperty(value = "计量单位")
	private java.lang.String measurement;
	/**申请数量*/
	@Excel(name = "申请数量", width = 15)
	@ApiModelProperty(value = "申请数量")
	private java.lang.String quantityCount;
	/**库存数量*/
	@Excel(name = "库存数量", width = 15)
	@ApiModelProperty(value = "库存数量")
	private java.lang.String stockCount;
	/**出库日期*/
	@Excel(name = "出库日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "出库日期")
	private java.util.Date outStockdate;
	/**出库人*/
	@Excel(name = "出库人", width = 15)
	@ApiModelProperty(value = "出库人")
	@Dict(dicCode = "id",dicText = "realname",dictTable = "sys_user")
	private java.lang.String outStockpeople;
	/**领用人*/
	@Excel(name = "领用人", width = 15)
	@ApiModelProperty(value = "领用人")
	@Dict(dicCode = "id",dicText = "realname",dictTable = "sys_user")
	private java.lang.String responsiblePeople;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private java.lang.String remark;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
	/**修改人*/
	@ApiModelProperty(value = "修改人")
	private java.lang.String updateBy;
	/**物品类型*/
	@Excel(name = "物品类型", width = 15)
	@ApiModelProperty(value = "物品类型")
	private java.lang.String category;
	/**所属仓库*/
	@Excel(name = "所属仓库", width = 15)
	@Dict(dicCode = "id",dicText = "inventory_name",dictTable = "lwgy_material_inventory")
	@ApiModelProperty(value = "所属仓库")
	private java.lang.String inventoryName;

	/**所属仓库*/
	@Excel(name = "所属仓库", width = 15)
	@ApiModelProperty(value = "所属仓库")
	private java.lang.String applyNum;

	private BigDecimal outNum;

	private BigDecimal price;

	private String applyId;

	@Dict(dicCode = "mark")
	private String mark;

	/**所属仓库*/
	@Excel(name = "所属仓库", width = 15)
	@ApiModelProperty(value = "所属仓库")
	private java.lang.String goodsId;
	@ExcelCollection(name="计划仓库")
	@ApiModelProperty(value = "计划仓库")
	private List<LwgyOutStockType> lwgyOutStockTypList;




}
